package com.admin.system.modules.mnt.entity;

import com.admin.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author sq-lan
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("mnt_server")
public class Server extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "ID", hidden = true)
    private Integer id;

    @ApiModelProperty(value = "服务器名称")
    private String name;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "端口")
    private Integer port;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

}
